home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.programmer
- Path: cs.chalmers.se!news.chalmers.se!sunic!ericom!etxsvkl
- From: etxsvkl@garbo.ericsson.se (Svante Kleist)
- Subject: Re: How to set stack for a shell command in REXX?
- Message-ID: <etxsvkl.737818750@garboa03>
- Sender: news@ericsson.se
- Nntp-Posting-Host: garboa03.ericsson.se
- Organization: Ericsson
- References: <1tb7tdINNjs6@news.u.washington.edu> <1993May19.113041.10140@daimi.aau.dk>
- Date: Wed, 19 May 1993 13:39:10 GMT
-
- u920496@daimi.aau.dk (Hans Erik Martino Hansen) writes:
-
- >maji@carson.u.washington.edu (Ji Ma) writes:
-
- >>I had one program which needs 30000byte of stack and I want to call
- >>the program from inside rexx micro. But following code does not
- >>work.
- >>
- >>address command
- >>'stack 30000'
- >>'run stackmonster'
- >>
- >>Is there a way to get around it? Thanks in advance.
- >>
- >>Maji
-
- >Try look at the Pragma command
-
- Or you could force the two shell commands to execute in the same
- shell instance by merging them, separated by a line-feed character:
-
- lf = '0a'x /* or is it 0d ?? */
-
- cmd1 = 'stack 30000'
- cmd2 = 'run stackmonster'
-
- cmd = cmd1 lf cmd2
-
- address 'COMMAND' cmd
-
- /Svante
- --
- --
- Svante Kleist (etxsvkl@garbo.ericsson.se)
-
- Ericsson Telecom AB, Systems and Software - Design Support.